package com.tduck.cloud.account.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 用户角色vo
 *
 * @author Guard Baby
 * @date 2023/09/09
 */
@Data
public class UserRoleVo implements Serializable {
    @NotNull
    private Long userId;
    @NotEmpty
    private List<RoleVO> roles;
}
